package com.dime.basic.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 职业评价依据对象 dime_baseevaluation
 * 
 * @author Tiny
 * @date 2023-10-23
 */
public class DimeBaseevaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 依据编码 */
    @Excel(name = "依据编码")
    private String code;

    /** 依据名称 */
    @Excel(name = "依据名称")
    private String name;

    /** 替换依据编码 */
    @Excel(name = "替换依据编码")
    private String oldcode;

    /** $column.columnComment */
    private Integer IsValid = 1;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOldcode(String oldcode) 
    {
        this.oldcode = oldcode;
    }

    public String getOldcode() 
    {
        return oldcode;
    }
    public void setIsValid(Integer IsValid) 
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid() 
    {
        return IsValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("oldcode", getOldcode())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("IsValid", getIsValid())
            .toString();
    }
}
